﻿// -----------------------------------------------------------------------
// <copyright file="Logging.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
namespace ASS.BUS.DTO
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class Logging
    {
        [Key, Required, Display(Name = @"Log ID")]
        public int LogId { get; set; }

        [Required, Display(Name = @"Log date")]
        public DateTime LogDate { get; set; }

        [Display(Name = @"Số lượng")]
        public int SoLuong { get; set; }

        [Display(Name = @"Cơ sở")]
        public int CoSo { get; set; }

        [Display(Name = @"Mô tả")]
        public string MoTa { get; set; }

        [Display(Name = @"Log Type")]
        public int LogTypeId { get; set; }

        // Navigation properties 
        public virtual LogType LogType { get; set; }
    }
}
